package net.learn.system.convert;

import net.learn.system.entity.SysJudgeEntity;
import net.learn.system.entity.SysMyPaperEntity;
import net.learn.system.vo.SysJudgeVO;
import net.learn.system.vo.SysMyPaperVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SysMyPaperConvert {
    SysMyPaperConvert INSTANCE = Mappers.getMapper(SysMyPaperConvert.class);

    SysMyPaperVO convert(SysMyPaperEntity entity);

    SysMyPaperEntity convert(SysMyPaperVO vo);

    List<SysMyPaperVO> convertList(List<SysMyPaperEntity> list);

}
